package com.xgimi.open.skill.datamanager.domain.service;

import com.xgimi.open.skill.datamanager.domain.entity.IntentSlotDO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author coderzpw.zhang
* @description 针对表【intent__slot(意图-槽位中间表)】的数据库操作Service
* @createDate 2023-04-11 16:43:38
*/
public interface IntentSlotService extends IService<IntentSlotDO> {

    Boolean deleteByIntentId(Long intentId);

    Boolean deleteByslotId(Long slotId);

    List<IntentSlotDO> getBySlotId(Long slotId);

    List<IntentSlotDO> listBySlotIds(List<Long> slotIds);
    boolean physicalDeleteByIntentIds(List<Long> intentIds);

    boolean physicalDeleteBySlotIds(List<Long> slotIds);
    List<IntentSlotDO> listByIntentIds(List<Long> intentIds);

    IntentSlotDO queryByIntentIdAndSlotId(Long intentId, Long slotId);

    List<IntentSlotDO> listByIntentId(Long intentId);
}
